-- GENERATED SPELL FOR [Bloodaxe Raider] --


function spell0_9692(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15284,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9692', 619, 1)
end

function spell1_9692(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(15572,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9692', 30295, 1)
end

function Sorts_9692(pUnit, Event)
local choix_sorts_9692 = math.random(0, 1)
if choix_sorts_9692 == 0 then
pUnit:RegisterEvent('spell0_9692', 1, 1)
end
if choix_sorts_9692 == 1 then
pUnit:RegisterEvent('spell1_9692', 1, 1)
end
end

function mob9692_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9692', math.random(1500, 3000), 1)
end

function mob9692_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9692_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9692_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9692, 1, 'mob9692_Action')
RegisterUnitEvent(9692, 2, 'mob9692_Leave')
RegisterUnitEvent(9692, 3, 'mob9692_Kill')
RegisterUnitEvent(9692, 4, 'mob9692_Die')
